#include <stdio.h>
#include <time.h>

int main()
{
    time_t t = time(NULL);
    printf("%s",ctime(&t));

    struct tm *m = gmtime(&t);
    printf("%d年%d月%d日 %d时%d分%d秒\n",m->tm_year + 1900,m->tm_mon + 1,m->tm_mday,(m->tm_hour + 8)%24,m->tm_min,m->tm_sec);
    return 0;
}